#include "./Graph/Vertex.h"
#include <string>


CVertex::CVertex()
{

}

CVertex::CVertex(char* szName)
{
	m_strID = szName;
}

CVertex::~CVertex()
{
	
}

bool CVertex::operator==(const CVertex& vertex) const
{
	return (m_strID == vertex.GetID());
}

bool CVertex::operator<(const CVertex& vertex) const
{
	return (m_strID < vertex.GetID());
}

bool CVertex::operator>(const CVertex& vertex) const
{
	return (m_strID > vertex.GetID());
}

string CVertex::GetID() const
{
	return m_strID;
}
